<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <head th:include="head.html::head">
</head>
<body>
<div id="top" th:include="head.html::top"></div>
<div id="msg" th:text="${msg}"></div>
<form action="/editGoodstype" method="post">
    <input type="hidden" name="tid" th:value="${goodstype.getTid()}">
    <table>
        <tr><td>类别名称</td><input type="text" th:value="${goodstype.getTname()}" name="tname"></tr>
        <td colspan="2">
            <input type="reset" value="重置">
            <input type="submit" value="提交">
        </td>
    </table>
</form>
</body>
</html>